README for “Does Moral Rhetoric Fuel or Reduce Divides Between Parties and Non-Copartisan Voters?”

Author: Jae-Hee Jung

All analyses were carried out using RStudio Version 2023.03.0+386 on macOS Ventura 13.2.1. R Version is 4.2.3. The following R packages (and their versions) are used: plyr (1.8.8), foreign (0.8-84), sandwich (3.0-2), SimDesign (2.10.1), interplot (0.2.3), ggpubr (0.6.0), texted (1.38.6), lmtest (0.9-40).

R files in each section below should be run in the order they are listed. If the R files use any source datasets, then the source datasets are listed in bullet points. If the R files create datasets to be used in a subsequent R file, then the output datasets are also listed in bullet points.

*********************************

1. Main Text

Replication_pretests.R: Prepares and replicates analyses of pretests.
- Source datasets: Raw_pretest_lab.csv, Raw_pretest_con.csv

Replication_prep.R: Prepares analysis datasets.
- Source dataset: Raw_experiments.csv
- Output dataset: Data_experiments.RData

Replication_main.R: Replicates analyses in manuscript.
- Source dataset: Data_experiments.RData

*********************************

2. Online Appendix

Replication_appendix.R: Prepares and replicates analyses in online appendix.
- Source datasets: Data_experiments.RData, Raw_followup.csv